home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Graphics⁄Sound / RTrace-1.0-src / pp_ext.h < prev    next >
Text File  |  1992-08-17  |  2KB  |  50 lines

  1. /*
  2.  * Copyright (c) 1988, 1992 Antonio Costa, INESC-Norte.
  3.  * All rights reserved.
  4.  *
  5.  * This code received contributions from the following people:
  6.  *
  7.  *  Roman Kuchkuda      - basic ray tracer
  8.  *  Mark VandeWettering - MTV ray tracer
  9.  *  Augusto Sousa       - overall, shading model
  10.  *  Paulo Almeida       - TEXT3D primitive
  11.  *  Pedro Borges        - TEXT3D primitive
  12.  *
  13.  * Redistribution and use in source and binary forms are permitted
  14.  * provided that the above copyright notice and this paragraph are
  15.  * duplicated in all such forms and that any documentation,
  16.  * advertising materials, and other materials related to such
  17.  * distribution and use acknowledge that the software was developed
  18.  * by Antonio Costa, at INESC-Norte. The name of the author and
  19.  * INESC-Norte may not be used to endorse or promote products derived
  20.  * from this software without specific prior written permission.
  21.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  22.  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  23.  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  24.  */
  25.  
  26. /**********************************************************************
  27.  *    RAY TRACING - Version 7.3                                       *
  28.  *                                                                    *
  29.  *    MADE BY    : Antonio Costa, INESC-Norte, June 1992              *
  30.  *    MODIFIED BY: Antonio Costa, INESC-Norte, June 1992              *
  31.  **********************************************************************/
  32.  
  33. /***** Interface with PP code *****/
  34. #ifdef __STDC__
  35. extern void      get_pp_obj(file_ptr);
  36. extern real      intersect_pp_obj(xyz_ptr, xyz_ptr, xyz_ptr, xyz_ptr,
  37.                    void_ptr);
  38. extern void      normal_pp_obj(xyz_ptr, void_ptr, xyz_ptr);
  39. extern void       end_pp_get(void);
  40. #else
  41. extern void      get_pp_obj();
  42. extern real      intersect_pp_obj();
  43. extern void      normal_pp_obj();
  44. extern void       end_pp_get();
  45. #endif
  46.  
  47. /***** Local stuff *****/
  48. extern short int  pp_surface_id;
  49. extern real      pp_refraction;
  50.